package com.ecoolex.hotel.saas.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.hotel.saas.core.mapper.SalesUserMapper;
import com.ecoolex.hotel.saas.entity.SalesUser;
import com.ecoolex.hotel.saas.pojo.QuerySalesUserDTO;

public interface SalesUserDAO extends SalesUserMapper {
	
	Long count(@Param("query") QuerySalesUserDTO query);
	
	List<SalesUser> query(@Param("query") QuerySalesUserDTO query, @Param("page") Page page);
}